package cn.xuchunh.campusbbs.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by XuChunH on 2015/9/13.
 */
public class Topic implements Serializable{

    private int forumId;
    private String forumName;
    private int id;

    //normal, normal_complex
    private String type;

    private String title;
    private int userId;
    private String userNickName;
    private long lastReplyDate;
    private int vote;
    private boolean hot;
    private int hits;
    private int replies;
    private boolean essence;
    private boolean top;
    private int status;
    private String subject;
    private String picPath;
    private String ratio;
    private String userAvatar;
    private int gender;
    private int recommendAdd;
    private int isHasRecommendAdd;
    private List<String> imageList;
    private String sourceWebUrl;

    //帖子详情页获取数据时增加的字段
    private int sortId;
    private boolean favor;
    private long createDate;
    private int level;
    private String userTitle;
    private String location;
    private String mobileSign;
    private int replyStatus;
    private int flag;
    private int replyPostsId;
    private List<ReplyContent> content;
    private List<Reply> replyList;

    //搜索中添加的字段
    private int typeId;

    public Topic() {
        content = new ArrayList<>();
        replyList = new ArrayList<>();
    }

    public int getForumId() {
        return forumId;
    }

    public void setForumId(int forumId) {
        this.forumId = forumId;
    }

    public String getForumName() {
        return forumName;
    }

    public void setForumName(String forumName) {
        this.forumName = forumName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public long getLastReplyDate() {
        return lastReplyDate;
    }

    public void setLastReplyDate(long lastReplyDate) {
        this.lastReplyDate = lastReplyDate;
    }

    public int getVote() {
        return vote;
    }

    public void setVote(int vote) {
        this.vote = vote;
    }

    public int getHits() {
        return hits;
    }

    public void setHits(int hits) {
        this.hits = hits;
    }

    public int getReplies() {
        return replies;
    }

    public void setReplies(int replies) {
        this.replies = replies;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String getRatio() {
        return ratio;
    }

    public void setRatio(String ratio) {
        this.ratio = ratio;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getRecommendAdd() {
        return recommendAdd;
    }

    public void setRecommendAdd(int recommendAdd) {
        this.recommendAdd = recommendAdd;
    }

    public int getIsHasRecommendAdd() {
        return isHasRecommendAdd;
    }

    public void setIsHasRecommendAdd(int isHasRecommendAdd) {
        this.isHasRecommendAdd = isHasRecommendAdd;
    }

    public List<String> getImageList() {
        return imageList;
    }

    public void setImageList(List<String> imageList) {
        this.imageList = imageList;
    }

    public String getSourceWebUrl() {
        return sourceWebUrl;
    }

    public void setSourceWebUrl(String sourceWebUrl) {
        this.sourceWebUrl = sourceWebUrl;
    }

    public boolean isHot() {
        return hot;
    }

    public void setHot(boolean hot) {
        this.hot = hot;
    }

    public boolean isEssence() {
        return essence;
    }

    public void setEssence(boolean essence) {
        this.essence = essence;
    }

    public boolean isTop() {
        return top;
    }

    public void setTop(boolean top) {
        this.top = top;
    }


    /*----------------------------------------------------------------*/
    /*----此分割线仅仅是为了知道field获取的位置，仅仅是为了看着方便，河畔返回的数据太无语了！！！---*/
    public int getSortId() {
        return sortId;
    }

    public void setSortId(int sortId) {
        this.sortId = sortId;
    }

    public boolean isFavor() {
        return favor;
    }

    public void setFavor(boolean favor) {
        this.favor = favor;
    }

    public long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(long createDate) {
        this.createDate = createDate;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getUserTitle() {
        return userTitle;
    }

    public void setUserTitle(String userTitle) {
        this.userTitle = userTitle;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getMobileSign() {
        return mobileSign;
    }

    public void setMobileSign(String mobileSign) {
        this.mobileSign = mobileSign;
    }

    public int getReplyStatus() {
        return replyStatus;
    }

    public void setReplyStatus(int replyStatus) {
        this.replyStatus = replyStatus;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getReplyPostsId() {
        return replyPostsId;
    }

    public void setReplyPostsId(int replyPostsId) {
        this.replyPostsId = replyPostsId;
    }

    public List<ReplyContent> getContent() {
        return content;
    }

    public void setContent(List<ReplyContent> content) {
        this.content = content;
    }

    public List<Reply> getReplyList() {
        return replyList;
    }

    public void setReplyList(List<Reply> replyList) {
        this.replyList = replyList;
    }

    /*----------------------------------------------------------------*/

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }
}
